package com.sls.game.dao;

import java.util.List;

import com.sls.game.page.Pagination;
import com.sls.game.pojo.OhFeiGoodsBrandInfo;

/**
 * 
 * @description 殴飞产品品牌数据表DAO
 * @author Wangxuegang
 * @date 2012-9-25
 * 
 */
public interface OhFeiGoodsBrandDAO {

	/**
	 * 产品品牌分页查询
	 * 
	 * @param pageInruire
	 * @param baseQuery
	 * @return
	 */
	public Pagination<OhFeiGoodsBrandInfo> queryPaginationList(
			OhFeiGoodsBrandInfo info);

	/**
	 * 记录新增
	 * 
	 * @param info
	 */
	public void insert(OhFeiGoodsBrandInfo info);

	/**
	 * 根据小类商品Id，查询单条记录
	 * 
	 * @param cardId
	 * @return
	 */
	public OhFeiGoodsBrandInfo queryByCardId(String cardId);

	/**
	 * 记录更新
	 * 
	 * @param info
	 */
	public void update(OhFeiGoodsBrandInfo info);

	/**
	 * 查询所有cardid
	 * 
	 * @return
	 */
	public List<String> queryAllCardId();

}
